{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>大拇哥资源共享平台</title>
    <!--视口 不缩放 -->
    <meta name="viewport" content="user-scalable=no,width=device-width, initial-scale=1.0,  minimum-scale=1.0, maximum-scale=1.0">
    <meta name="flexible" content="initial-dpr=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <!-- 网页作者 -->
    <meta name="author" content="hg" />
    <!-- 添加到主屏后的标题（iOS 6 新增） -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 是否启用 WebApp 全屏模式，删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 不让百度转码 -->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="msapplication-TileColor" content="#000" />
    <!--<link href="logo.ico" rel="shortcut icon" type="image/x-icon">-->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="__PUBLIC__/dist/js/html5shiv.min.js"></script>
      <script src="__PUBLIC__/dist/js/respond.min.js"></script>
    <![endif]-->
    <link rel="shortcut icon" href="favicon.ico">

    <!-- ZUI1.7.0 -->
    <link rel="stylesheet" href="__PUBLIC__/dist/css/zui.min.css">

    <link href="__PUBLIC__/dist/css/main.css" rel="stylesheet">
</head>
    <style>
        .tip{
            display: none;
        }
        .tip:only-child{
            display: block;
        }
    </style>
<body class="bg-white">
    <div id="page">

        <h2 class="mb-20 card-title">教学视频</h2>
        <div class="project_card flex row">
            <p class="col-xs-12 tip" >
                暂时没有相关内容
            </p >
            <!-- 项目列表 块 start -->
            <foreach name="rw" item="vo">
                <foreach name="vo['rwsp']['val']" item="v">
                    <section>
                        <div class="project_card_box">
                            <a data-title='{$vo.title.val}' data-name="{$v.name}" data-time="{$vo.createtime.val|date='Y-m-d',###}" onClick="playVideo(this,'index.php?m=Index&a=video&file={$v.file}')">
                                <div class="project_card_img mb-20">
                                    <img src="{$vo.rwspylt.val}">
                                    <div class="backdrop"></div>
                                    <i class="icon icon-plays"></i>
                                </div>
                            </a>
                            <div class="project_card_data">
                                <p class="text-primary text-ellipsis mb-10">{$vo.title.val}</p>
                                <h2 class="text-ellipsis mb-10">{$v.name}</h2>
                                <hr>
                                <div>
                                    <span class="photo">
                                        <img src="/Public/dist/image/user.png" />
                                    </span>
                                    <span>{$vo.username.val}</span>
                                    <span class="text-right">
                                            <eq name="v['fileonoff']" value="true">
                                                <a class="icon icon-down" download download href="{$v.file} "></a>
                                                <else/>
                                                <a class="icon icon-down disabled" title="需下载申请" disabled></a>
                                            </eq>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </section>
                </foreach>
            </foreach>
            <!-- 项目列表 块  end -->
        </div>
    </div>
    <script>
        function playVideo(obj, src) {
            var data = obj.dataset;
            window.parent.Video(src, data);
        }
    </script>
</body>

</html>